function fillUid()
{
	var src = document.getElementById("source");
	// Auto fill
	var uid = document.getElementById("name").value;
	var txtUid = src.contentDocument.getElementById("userId");
	txtUid.value = uid;
	// Submit form
	src.contentDocument.getElementById("btnAddadmin").click();
}

function reloadFrame()
{
	var src = document.getElementById("source");
	src.contentWindow.location.reload();
	return false;
}
function revisit()
{
	var src = document.getElementById("source");
	src.contentWindow.location.href = "http://www.owncloud1.com/owncloud/apps/add_admin/";
	return false;
}
